home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / N-P / NeoAccessIntro 3.0.sit / TCL / NeoBench / Includes / CNeoBenchPane.h < prev    next >
MacBinary  |  1994-08-07  |  2.0 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Aug 7 13:41:29 1994, modified Sun Aug 7 13:41:29 1994, creator Think C, type ASCII, 1533 bytes "CNeoBenchPane.h" , at 0x67d 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 43 4e 65 6f 42 65 | 6e 63 68 50 61 6e 65 2e |..CNeoBe|nchPane.|
|00000010| 68 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |h.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 05 fd 00 | 00 01 7e aa 6a cd 49 aa |........|..~.j.I.|
|00000060| 6a cd 49 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |j.I.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 3c 7e 00 00 |........|....<~..|
|00000080| 2f 2a 2a 2a 2a 0d 20 2a | 20 43 4e 65 6f 42 65 6e |/****. *| CNeoBen|
|00000090| 63 68 50 61 6e 65 2e 68 | 0d 20 2a 0d 20 2a 09 50 |chPane.h|. *. *.P|
|000000a0| 61 6e 65 20 63 6c 61 73 | 73 20 66 6f 72 20 61 20 |ane clas|s for a |
|000000b0| 74 79 70 69 63 61 6c 20 | 61 70 70 6c 69 63 61 74 |typical |applicat|
|000000c0| 69 6f 6e 2e 0d 20 2a 0d | 20 2a 2a 2a 2a 2f 0d 0d |ion.. *.| ****/..|
|000000d0| 23 64 65 66 69 6e 65 20 | 5f 48 5f 43 4e 65 6f 42 |#define |_H_CNeoB|
|000000e0| 65 6e 63 68 50 61 6e 65 | 09 09 09 2f 2a 20 49 6e |enchPane|.../* In|
|000000f0| 63 6c 75 64 65 20 74 68 | 69 73 20 66 69 6c 65 20 |clude th|is file |
|00000100| 6f 6e 6c 79 20 6f 6e 63 | 65 20 2a 2f 0d 23 69 6e |only onc|e */.#in|
|00000110| 63 6c 75 64 65 20 3c 43 | 50 61 6e 65 2e 68 3e 0d |clude <C|Pane.h>.|
|00000120| 23 69 6e 63 6c 75 64 65 | 20 3c 43 42 75 74 74 6f |#include| <CButto|
|00000130| 6e 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 22 4e |n.h>.#in|clude "N|
|00000140| 65 6f 42 65 6e 63 68 2e | 68 22 0d 0d 63 6c 61 73 |eoBench.|h"..clas|
|00000150| 73 20 20 43 52 61 77 54 | 65 78 74 3b 0d 63 6c 61 |s CRawT|ext;.cla|
|00000160| 73 73 20 20 43 49 6e 74 | 65 67 65 72 54 65 78 74 |ss CInt|egerText|
|00000170| 3b 0d 0d 2f 2f 20 43 6f | 6e 73 74 61 6e 74 73 20 |;..// Co|nstants |
|00000180| 72 65 6c 61 74 69 6e 67 | 20 74 6f 20 72 65 73 6f |relating| to reso|
|00000190| 75 72 63 65 73 0d 0d 23 | 64 65 66 69 6e 65 20 63 |urces..#|define c|
|000001a0| 6d 64 53 54 4f 50 09 09 | 31 30 30 30 0d 23 64 65 |mdSTOP..|1000.#de|
|000001b0| 66 69 6e 65 20 63 6d 64 | 47 4f 09 09 31 30 30 31 |fine cmd|GO..1001|
|000001c0| 0d 0d 73 74 72 75 63 74 | 20 43 4e 65 6f 42 65 6e |..struct| CNeoBen|
|000001d0| 63 68 50 61 6e 65 20 3a | 20 43 50 61 6e 65 20 7b |chPane :| CPane {|
|000001e0| 0d 0d 09 43 52 61 77 54 | 65 78 74 09 2a 4e 65 6f |...CRawT|ext.*Neo|
|000001f0| 52 61 77 54 65 78 74 73 | 5b 6b 4d 61 78 50 68 61 |RawTexts|[kMaxPha|
|00000200| 73 65 20 2b 31 5d 5b 6b | 4d 61 78 43 6f 6c 20 2b |se +1][k|MaxCol +|
|00000210| 31 5d 3b 09 2f 2f 20 74 | 68 65 20 74 65 78 74 73 |1];.// t|he texts|
|00000220| 20 64 69 73 70 6c 61 79 | 69 6e 67 20 74 68 65 20 | display|ing the |
|00000230| 6e 75 6d 62 65 72 73 0d | 09 43 49 6e 74 65 67 65 |numbers.|.CIntege|
|00000240| 72 54 65 78 74 2a 4e 65 | 6f 45 64 69 74 54 65 78 |rText*Ne|oEditTex|
|00000250| 74 73 5b 6b 4d 61 78 50 | 68 61 73 65 20 2b 31 5d |ts[kMaxP|hase +1]|
|00000260| 3b 09 09 09 2f 2f 20 74 | 68 65 20 54 4f 54 41 4c |;...// t|he TOTAL|
|00000270| 53 20 65 64 69 74 61 62 | 6c 65 20 74 65 78 74 73 |S editab|le texts|
|00000280| 0d 09 43 52 61 77 54 65 | 78 74 09 2a 4e 65 6f 53 |..CRawTe|xt.*NeoS|
|00000290| 74 61 74 73 41 63 72 6f | 73 73 5b 6b 4d 61 78 43 |tatsAcro|ss[kMaxC|
|000002a0| 6f 6c 20 2b 31 5d 3b 09 | 09 09 2f 2f 20 43 6f 6c |ol +1];.|..// Col|
|000002b0| 75 6d 6e 20 6e 61 6d 65 | 73 0d 09 43 52 61 77 54 |umn name|s..CRawT|
|000002c0| 65 78 74 09 2a 4e 65 6f | 50 68 61 73 65 4e 61 6d |ext.*Neo|PhaseNam|
|000002d0| 65 73 5b 6b 4d 61 78 50 | 68 61 73 65 20 2b 31 5d |es[kMaxP|hase +1]|
|000002e0| 3b 09 09 09 2f 2f 20 50 | 68 61 73 65 20 6e 61 6d |;...// P|hase nam|
|000002f0| 65 73 0d 09 43 42 75 74 | 74 6f 6e 09 09 2a 4e 65 |es..CBut|ton..*Ne|
|00000300| 6f 53 74 6f 70 42 75 74 | 74 6f 6e 3b 09 09 09 09 |oStopBut|ton;....|
|00000310| 09 09 09 2f 2f 20 53 74 | 6f 70 20 62 75 74 74 6f |...// St|op butto|
|00000320| 6e 0d 09 43 42 75 74 74 | 6f 6e 09 09 2a 4e 65 6f |n..CButt|on..*Neo|
|00000330| 47 6f 42 75 74 74 6f 6e | 3b 09 09 09 09 09 09 09 |GoButton|;.......|
|00000340| 2f 2f 20 47 6f 20 62 75 | 74 74 6f 6e 0d 0d 09 6c |// Go bu|tton...l|
|00000350| 6f 6e 67 09 09 6d 61 78 | 56 61 6c 75 65 5b 6b 4d |ong..max|Value[kM|
|00000360| 61 78 50 68 61 73 65 20 | 2b 31 5d 3b 0d 09 6c 6f |axPhase |+1];..lo|
|00000370| 6e 67 09 09 6d 69 6e 56 | 61 6c 75 65 5b 6b 4d 61 |ng..minV|alue[kMa|
|00000380| 78 50 68 61 73 65 20 2b | 31 5d 3b 0d 0d 09 09 09 |xPhase +|1];.....|
|00000390| 09 09 09 09 09 09 2f 2a | 2a 20 43 6f 6e 74 72 75 |....../*|* Contru|
|000003a0| 63 74 69 6f 6e 2f 44 65 | 73 74 72 75 63 74 69 6f |ction/De|structio|
|000003b0| 6e 20 2a 2a 2f 0d 09 76 | 6f 69 64 09 09 49 4e 65 |n **/..v|oid..INe|
|000003c0| 6f 42 65 6e 63 68 50 61 | 6e 65 28 43 56 69 65 77 |oBenchPa|ne(CView|
|000003d0| 20 2a 61 6e 45 6e 63 6c | 6f 73 75 72 65 2c 20 43 | *anEncl|osure, C|
|000003e0| 42 75 72 65 61 75 63 72 | 61 74 20 2a 61 53 75 70 |Bureaucr|at *aSup|
|000003f0| 65 72 76 69 73 6f 72 2c | 0d 09 09 09 09 09 09 09 |ervisor,|........|
|00000400| 73 68 6f 72 74 20 61 57 | 69 64 74 68 2c 20 73 68 |short aW|idth, sh|
|00000410| 6f 72 74 20 61 48 65 69 | 67 68 74 2c 0d 09 09 09 |ort aHei|ght,....|
|00000420| 09 09 09 09 73 68 6f 72 | 74 20 61 48 45 6e 63 6c |....shor|t aHEncl|
|00000430| 2c 20 73 68 6f 72 74 20 | 61 56 45 6e 63 6c 2c 0d |, short |aVEncl,.|
|00000440| 09 09 09 09 09 09 09 53 | 69 7a 69 6e 67 4f 70 74 |.......S|izingOpt|
|00000450| 69 6f 6e 20 61 48 53 69 | 7a 69 6e 67 2c 20 53 69 |ion aHSi|zing, Si|
|00000460| 7a 69 6e 67 4f 70 74 69 | 6f 6e 20 61 56 53 69 7a |zingOpti|on aVSiz|
|00000470| 69 6e 67 29 3b 0d 0d 09 | 09 09 09 09 09 09 09 09 |ing);...|........|
|00000480| 2f 2a 2a 20 44 72 61 77 | 69 6e 67 20 2a 2a 2f 0d |/** Draw|ing **/.|
|00000490| 09 76 6f 69 64 09 09 44 | 72 61 77 28 52 65 63 74 |.void..D|raw(Rect|
|000004a0| 20 2a 61 72 65 61 29 3b | 0d 0d 09 09 09 09 09 09 | *area);|........|
|000004b0| 09 09 09 2f 2a 2a 20 4d | 6f 75 73 65 20 2a 2a 2f |.../** M|ouse **/|
|000004c0| 0d 09 76 6f 69 64 09 09 | 44 6f 43 6c 69 63 6b 28 |..void..|DoClick(|
|000004d0| 50 6f 69 6e 74 20 68 69 | 74 50 74 2c 20 73 68 6f |Point hi|tPt, sho|
|000004e0| 72 74 20 6d 6f 64 69 66 | 69 65 72 4b 65 79 73 2c |rt modif|ierKeys,|
|000004f0| 20 6c 6f 6e 67 20 77 68 | 65 6e 29 3b 0d 09 42 6f | long wh|en);..Bo|
|00000500| 6f 6c 65 61 6e 09 09 48 | 69 74 53 61 6d 65 50 61 |olean..H|itSamePa|
|00000510| 72 74 28 50 6f 69 6e 74 | 20 70 6f 69 6e 74 41 2c |rt(Point| pointA,|
|00000520| 20 50 6f 69 6e 74 20 70 | 6f 69 6e 74 42 29 3b 0d | Point p|ointB);.|
|00000530| 0d 09 09 09 09 09 09 09 | 09 09 2f 2a 2a 20 43 75 |........|../** Cu|
|00000540| 72 73 6f 72 20 2a 2a 2f | 0d 09 76 6f 69 64 09 09 |rsor **/|..void..|
|00000550| 41 64 6a 75 73 74 43 75 | 72 73 6f 72 28 50 6f 69 |AdjustCu|rsor(Poi|
|00000560| 6e 74 20 77 68 65 72 65 | 2c 20 52 67 6e 48 61 6e |nt where|, RgnHan|
|00000570| 64 6c 65 20 6d 6f 75 73 | 65 52 67 6e 29 3b 0d 09 |dle mous|eRgn);..|
|00000580| 09 09 09 09 09 09 09 09 | 2f 2a 2a 20 53 63 72 6f |........|/** Scro|
|00000590| 6c 6c 69 6e 67 20 2a 2a | 2f 0d 0d 09 6c 6f 6e 67 |lling **|/...long|
|000005a0| 09 09 47 65 74 54 6f 74 | 61 6c 4e 75 6d 28 73 68 |..GetTot|alNum(sh|
|000005b0| 6f 72 74 20 69 6e 64 65 | 78 29 3b 0d 09 76 6f 69 |ort inde|x);..voi|
|000005c0| 64 09 09 43 6c 65 61 72 | 53 74 61 74 50 61 6e 65 |d..Clear|StatPane|
|000005d0| 73 28 76 6f 69 64 29 3b | 0d 09 76 6f 69 64 09 09 |s(void);|..void..|
|000005e0| 44 6f 4b 65 79 44 6f 77 | 6e 28 63 68 61 72 20 74 |DoKeyDow|n(char t|
|000005f0| 68 65 43 68 61 72 2c 20 | 42 79 74 65 20 6b 65 79 |heChar, |Byte key|
|00000600| 43 6f 64 65 2c 20 45 76 | 65 6e 74 52 65 63 6f 72 |Code, Ev|entRecor|
|00000610| 64 20 2a 6d 61 63 45 76 | 65 6e 74 29 3b 0d 09 76 |d *macEv|ent);..v|
|00000620| 6f 69 64 09 09 44 6f 43 | 6f 6d 6d 61 6e 64 28 6c |oid..DoC|ommand(l|
|00000630| 6f 6e 67 09 74 68 65 43 | 6f 6d 6d 61 6e 64 29 3b |ong.theC|ommand);|
|00000640| 0d 09 76 6f 69 64 09 09 | 55 70 64 61 74 65 43 6f |..void..|UpdateCo|
|00000650| 6c 28 73 68 6f 72 74 20 | 61 50 68 61 73 65 2c 20 |l(short |aPhase, |
|00000660| 73 68 6f 72 74 20 61 52 | 6f 77 2c 20 6c 6f 6e 67 |short aR|ow, long|
|00000670| 20 61 56 61 6c 75 65 29 | 3b 0d 7d 3b 0d 00 00 00 | aValue)|;.};....|
|00000680| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000690| 00 00 26 93 00 54 05 54 | 72 61 73 68 7b 80 01 df |..&..T.T|rash{...|
|000006a0| d4 e0 40 80 ff ff ff ff | ff ff ff ff 00 00 00 01 |..@.....|........|
|000006b0| 0f 43 4e 65 6f 42 65 6e | 63 68 50 61 6e 65 2e 68 |.CNeoBen|chPane.h|
|000006c0| 02 00 00 00 54 45 58 54 | 4b 41 48 4c 01 00 00 50 |....TEXT|KAHL...P|
|000006d0| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 50 00 00 |..TEXTKA|HL...P..|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 a0 9f 30 8c 00 00 | 05 fd 00 00 01 7e 26 c1 |....0...|.....~&.|
|00000700| 07 4e 65 6f 44 65 6d 6f | 00 00 75 86 07 4e 65 6f |.NeoDemo|..u..Neo|
|00000710| 44 65 6d 6f 0e 00 00 00 | 26 c1 08 50 72 6f 6a 65 |Demo....|&..Proje|
|00000720| 63 74 73 00 00 00 75 68 | 08 50 72 6f 6a 65 63 74 |cts...uh|.Project|
|00000730| 73 00 09 00 00 00 26 c1 | 03 54 43 4c 00 00 75 69 |s.....&.|.TCL..ui|
|00000740| 03 54 43 4c 06 00 00 00 | 75 66 00 21 0c 21 4d 6f |.TCL....|uf.!.!Mo|
|00000750| 76 65 26 52 65 2e 6e 61 | 6d 00 ff ff ff ff ff ff |ve&Re.na|m.......|
|00000760| ff ff 00 00 00 01 00 00 | 00 00 00 00 00 00 06 00 |........|........|
|00000770| 00 00 75 68 00 50 08 50 | 72 6f 6a 65 63 74 73 00 |..uh.P.P|rojects.|
|00000780| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 03 | 00 04 00 56 00 0a 01 f0 |........|...V....|
|000007b0| 02 80 00 56 00 0a 01 f0 | 02 80 aa 6a 86 fa 00 00 |...V....|...j....|
|000007c0| 00 e2 00 00 00 e2 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|000007d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 01 7a 46 08 |...L...L|...2.zF.|
|000007e0| 2e a4 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|000007f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+